// 获取小程序实例
const appInstance = getApp();

Page({
  data: {
    wrongQuestions: []  // 初始化页面数据，用于存储全局集合 wrongQuestions
  },

  onLoad: function () {
    // 在页面加载时，将全局集合 wrongQuestions 赋值给页面数据 wrongQuestions
    this.setData({
      wrongQuestions: appInstance.globalData.wrongQuestions
    });
  }
});
